package com.ruoyi.course.domain;

import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 视频对象 t_video
 *
 * @author ruoyi
 * @date 2024-12-07
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class TVideo extends BaseEntity {

    /**
     * id
     */
    private Long id;

    /**
     * 视频名
     */
    @Excel(name = "视频名")
    private String name;

    /**
     * 视频源url
     */
    @Excel(name = "视频源url")
    private String url;

    /**
     * 视频所属分类id
     */
    @Excel(name = "视频所属分类id")
    private Long categoryId;

    /**
     * 逻辑删除
     */
    @TableField(fill = FieldFill.INSERT)
    private int deleteStatus;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

}
